package com.jintoufs.dao.banner;

import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.banner.Banner;

import java.util.List;
import java.util.Map;

/**
 * Created by xufei on 2017/12/21.
 */
public interface BannerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Banner record);

    int insertSelective(Banner record);

    Banner selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Banner record);

    int updateByPrimaryKey(Banner record);

    List<Map<String, Object>> queryByParams(Map<String, Object> params);

    List<Map<String,Object>> getByFilter(QueryFilters filters);

    Map<String,Object> queryByPrimaryKey(Integer id);

}
